/*
 * @Autor: dingxiaolin
 * @Date: 2021-07-19 13:56:17
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-07-19 14:00:04
 */
import http from '@/utils/http/axios'
import { type } from './interface'

/**
 * @description: 系统文件列表
 */
export function sysFileInfoPage(params) {
    return http.request<any>({
        url: `/app-admin/file/page`,
        method: 'GET',
        params
    })
}

/**
 * @description: 添加系统字典类型
 */
export function sysDictTypeAdd(params) {
    return http.request<type.dictAdd>({
        url: `/app-admin/dict/add`,
        method: 'POST',
        params
    })
}
